package com.yuqian.JavaSe.util.date;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 时间工具类
 * @author yy
 *
 */
public class TimeUtil {
	public static String getCurrentTime() {
		Date date =new Date();
		SimpleDateFormat sf =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		return sf.format(date);
	}
}
